import { Award } from '../../models/award'

Page({
    data: {
        awardList: []
    },

    async onLoad () {
        await this.getAwardList()
    },

    async getAwardList() {
        this.setData({
            awardList: await Award.getAwardList()
        })
    }
})
